<div class="layui-container fly-marginTop">

    <div class="fly-panel fly-panel-user layui-hide-xs" pad20>
        <div class="layui-card-header">支付订单</div>
        <div class="layui-tab-item layui-show">
            <div class="layui-table-zlkb">
                <table class="layui-table" id="query-table">
                    <colgroup>
                        <col width="150">
                        <col width="200">
                        <col>
                    </colgroup>
                    <thead>
                    <tr>

                        <th>订单名称</th>
                        <th>金额</th>
                        <th>下单时间</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>

                        <td>
                            {$order['subject']}
                        </td>
                        <td>
                            {$order['amount']}
                        </td>
                        <td>
                            {:date('Y-m-d H:i:s')}
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>

    <div class="layui-tab-item layui-show">
        <div class="layui-form-pane">
            <div class="layerPay" id="layerPay" style="margin-bottom: 0;text-align:center">
                <input type="hidden" id="orderEncode" value="{$orderEncode}">
                <input type="hidden" id="order_no" value="{$order.order_no}">
                {volist name="payments" id="vo"}
                <a class="paymethod" data-paymethod="{$vo['pay_type']}" data-accountid="{$vo['id']}"><img src="{$vo['ico']}"></a>
                {/volist}
            </div>
        </div>
    </div>

</div>
<script>
    layui.config({
        base: '__STATIC__/'
    }).use('pay');
</script>